import request from '@/utils/request'
import { apiUrl } from '@/config/env'

export function getReport() {
  return request({
    url: `${apiUrl}/Home/index`,
    method: 'get'
  })
}

export function getTimeSpan(data) {
  return request({
    url: `${apiUrl}/Home/getTimeSpan`,
    params: data,
    method: 'get'
  })
}
